package com.inspur.service.impl;

import java.util.HashMap;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.inspur.mapper.MgrWorkResultMapper;
import com.inspur.pojo.MgrWorkResult;
import com.inspur.service.MgrWorkResultService;
@Service("mgrWorkResultService")
public class MgrWorkResultServiceImpl implements MgrWorkResultService {
	@Autowired
	private MgrWorkResultMapper mgrWorkResultMapper;

	@Override
	public List<MgrWorkResult> getWorkResultList(HashMap<String, Object> map) {

		return mgrWorkResultMapper.getWorkResultList(map);
	}

	@Override
	public void workResultAdd(MgrWorkResult mgrWorkResult) {
		mgrWorkResultMapper.workResultAdd(mgrWorkResult);
		
	}
	@Override
	 public void deleteresult(int ids[]){
		mgrWorkResultMapper.deleteresult(ids);
	 }
	@Override
	 public List<MgrWorkResult> getresultbycmkey(int cmkey){
		return mgrWorkResultMapper.getresultbycmkey(cmkey);
		
	}
	
	@Override
	  public void regularresultUpdate(MgrWorkResult mgrWorkResult){
		mgrWorkResultMapper.regularresultUpdate(mgrWorkResult);
	}
	
}
